package cc.ufinity.networkdiagnose.view;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

public class QuestionBackActivity extends Activity {
	private Button sumit,delete;
	private Button btback;
	private TextView questDetail;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.question_back);
		sumit=(Button)findViewById(R.id.sumit);
		delete=(Button)findViewById(R.id.delete);
		questDetail=(TextView)findViewById(R.id.questDetail);
		
		btback = (Button)findViewById(R.id.btn_httpcfg_back);
		
		sumit.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				Toast.makeText(QuestionBackActivity.this, "功能正在建设中。。。。", Toast.LENGTH_SHORT).show();
			}
		});
		
		delete.setOnClickListener(new OnClickListener() {
			
			public void onClick(View v) {
				questDetail.setText("");
			}
		});
		
		btback.setOnClickListener(new OnClickListener() {

			public void onClick(View v) {
				QuestionBackActivity.this.finish();
			}
		});
	}

}
